From d4679c0a13cc74cd1f401422c8f153b3a98070fe Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 29 Aug 2013 09:06:31 +0200 Subject: [PATCH] frame: annotate the @label params with (allow-none) --- gtk/gtkaspectframe.c | 2 +- gtk/gtkframe.c | 2 +- gtk/gtklabel.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index e9e76361ae..f684733f8a 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -219,7 +219,7 @@ gtk_aspect_frame_get_property (GObject *object, /** * gtk_aspect_frame_new: - * @label: Label text. + * @label: (allow-none): Label text. * @xalign: Horizontal alignment of the child within the allocation of * the #GtkAspectFrame. This ranges from 0.0 (left aligned) * to 1.0 (right aligned) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index e5c1aad511..dbb93b3507 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -332,7 +332,7 @@ gtk_frame_get_property (GObject *object, /** * gtk_frame_new: - * @label: the text to use as the label of the frame + * @label: (allow-none): the text to use as the label of the frame * * Creates a new #GtkFrame, with optional label @label. * If @label is %NULL, the label is omitted. diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index d5deb5759b..d0b164301c 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -1617,7 +1617,7 @@ gtk_label_buildable_custom_finished (GtkBuildable *buildable, /** * gtk_label_new: - * @str: The text of the label + * @str: (allow-none): The text of the label * * Creates a new label with the given text inside it. You can * pass %NULL to get an empty label widget. @@ -1639,7 +1639,7 @@ gtk_label_new (const gchar *str) /** * gtk_label_new_with_mnemonic: - * @str: The text of the label, with an underscore in front of the + * @str: (allow-none): The text of the label, with an underscore in front of the * mnemonic character * * Creates a new #GtkLabel, containing the text in @str. -- 2.30.2